<!--搜索与重置-->
<template>
  <span>
    <el-button class="filter-item" size="mini" type="primary"
               @click="crud.toQuery">{{$t('btn.query')}}</el-button>
    <el-button v-if="crud.optShow.reset" class="filter-item" size="mini"
               type="danger" @click="crud.resetQuery()">{{$t('btn.reset')}}</el-button>
  </span>
</template>
<script>
import { crud } from '@crud/crud'
export default {
  mixins: [crud()],
  props: {
    itemClass: {
      type: String,
      required: false,
      default: '',
    },
  },
}
</script>
